package ch.unifr.diuf.webeng.taskmap.db;

import java.util.Date;

public class Task {
	
	private String username;
	private int id;
	private String taskTitle;
	private String taskAddress;
	private Date taskDate;
	private String taskStartTime;
	private String taskEndTime;	
//	private String longitude;
//	private String latitude;
	
	public Task(){
		super();
	}
	public Task(String username, int id, String taskTitle, String taskAddress,
			Date taskDate, String taskStartTime, String taskEndTime) {
		super();
		this.username = username;
		this.id = id;
		this.taskTitle = taskTitle;
		this.taskAddress = taskAddress;
		this.taskDate = taskDate;
		this.taskStartTime = taskStartTime;
		this.taskEndTime = taskEndTime;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTaskTitle() {
		return taskTitle;
	}

	public void setTaskTitle(String taskTitle) {
		this.taskTitle = taskTitle;
	}

	public String getTaskAddress() {
		return taskAddress;
	}

	public void setTaskAddress(String taskAddress) {
		this.taskAddress = taskAddress;
	}

	public Date getTaskDate() {
		return taskDate;
	}

	public void setTaskDate(Date taskDate) {
		this.taskDate = taskDate;
	}

	public String getTaskStartTime() {
		return taskStartTime;
	}

	public void setTaskStartTime(String taskStartTime) {
		this.taskStartTime = taskStartTime;
	}

	public String getTaskEndTime() {
		return taskEndTime;
	}

	public void setTaskEndTime(String taskEndTime) {
		this.taskEndTime = taskEndTime;
	}
	@Override
	public String toString() {
		return "Task [username=" + username + ", id=" + id + ", taskTitle="
				+ taskTitle + ", taskAddress=" + taskAddress + ", taskDate="
				+ taskDate + ", taskStartTime=" + taskStartTime
				+ ", taskEndTime=" + taskEndTime + "]";
	}
	
	
}
